
export default [
    {
        path: '/',
        component:  () => import('@/layouts/default.vue'),
        redirect: '/home',
        children: [
          {
            path: '/home',
            component: () => import('@/views/index'),
            name: 'home',
            meta: { title: '首页', icon: 'dashboard', affix: true }
          },
          {
            path: '/archives/arch',
            component: () => import('@/views/archives/arch'),
            name: 'archives-arch',
            meta: { title: '学生档案', icon: 'dashboard', affix: true }
          },
          {
            path: '/archives/grade',
            component: () => import('@/views/archives/grade'),
            name: 'archives-grade',
            meta: { title: '学生成绩', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/teacher',
            component: () => import('@/views/platform/teacher'),
            name: 'platform-teacher',
            meta: { title: '教师管理', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/grade',
            component: () => import('@/views/platform/grade'),
            name: 'platform-grade',
            meta: { title: '年级管理', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/class',
            component: () => import('@/views/platform/class'),
            name: 'platform-class',
            meta: { title: '班级管理', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/standard',
            component: () => import('@/views/platform/standard'),
            name: 'platform-standard',
            meta: { title: '标化成绩', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/quality',
            component: () => import('@/views/platform/quality'),
            name: 'platform-quality',
            meta: { title: '素质成绩', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/medal',
            component: () => import('@/views/platform/medal'),
            name: 'platform-medal',
            meta: { title: '奖章管理', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/honor',
            component: () => import('@/views/platform/honor'),
            name: 'platform-honor',
            meta: { title: '荣誉管理', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/test',
            component: () => import('@/views/platform/test'),
            name: 'platform-test',
            meta: { title: '校内测试管理', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/community',
            component: () => import('@/views/platform/community'),
            name: 'platform-community',
            meta: { title: '社团管理', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/activities',
            component: () => import('@/views/platform/activities'),
            name: 'platform-activities',
            meta: { title: '活动管理', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/admin',
            component: () => import('@/views/platform/admin'),
            name: 'platform-admin',
            meta: { title: '管理员管理', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/packet',
            component: () => import('@/views/platform/packet'),
            name: 'platform-packet',
            meta: { title: '分组管理', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/classroom',
            component: () => import('@/views/platform/classroom'),
            name: 'platform-classroom',
            meta: { title: '课堂管理', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/evaluation',
            component: () => import('@/views/platform/evaluation'),
            name: 'platform-evaluation',
            meta: { title: '素质评价模板', icon: 'dashboard', affix: true }
          },
          {
            path: '/platform/ai',
            component: () => import('@/views/platform/ai'),
            name: 'platform-ai',
            meta: { title: 'AI', icon: 'dashboard', affix: true }
          },
          {
            path: '/system/dict',
            component: () => import('@/views/system/dict'),
            name: 'system-dict',
            meta: { title: '字典管理', icon: 'dashboard', affix: true }
          }
        ]
    },
]